package com.WFinstitute.controller;

import java.util.List;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.WFinstitute.domain.Test;
import com.WFinstitute.service.TestService;
import com.WFinstitute.util.Page;
import com.WFinstitute.util.TimeUtil;



/**
 * 
 * @author 匹夫
 * @date 2016-7-15 下午1:29:33
 * @function 测试jpa类
 */

@Controller
@RequestMapping("/home")
public class IndexController {
	
	/**
	 * 【前台页面】  到首页
	 * @param response
	 * @param request
	 * @return
	 */
	@RequestMapping("/index")
	public String test(HttpServletResponse response,HttpServletRequest request){
		return "/WEB-INF/views/main.jsp";
	}
	
	
}
